package com.cssy.yd.logic.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 数据对象
 * @since 2013-07-30
 */
public class LogicSkDO implements Serializable {

    private static final long serialVersionUID = 135951102784117259L;

    /**
     * column logic_sk.id
     */
    private String id;

    /**
     * column logic_sk.skcode  收款单据编号（SK-YYYY-MM-DD-不少于4位流水）
     */
    private String skCode;

    /**
     * column logic_sk.oricode  原始销售单号
     */
    private String oriCode;
    
    /**
     * column logic_sk.fph	发票号
     */
    private String fph;
    
    /**
     * column logic_sk.billstatus  单据状态（1、草稿，2、完成）
     */
    private Integer billStatus;
    
    /**
     * column logic_sk.whcode	出货仓库编码
     */
    private String whCode;

    /**
     * column logic_sk.whname	出货仓库名称
     */
	private String whName;
	
	/**
     * column logic_sk.creategscode	开单公司编码
     */
	private String creategscode;
    
	/**
	 * column logic_sk.creategsname 开单公司名称
	 */
	private String creategsname;
	
    /**
     * column logic_sk.skstate 收款状态(0、未收款，1、部分收款，2、全部收款）
     */
    private Integer skState;
    
    /**
     * column logic_sk.skmethod 收款方式
     */
    private String skMethod;
    
    /**
     * column logic_sk.skzh  收款账号
     */
    private String skzh;
    
  	/**
     * column logic_sk.spcode  客户编码
     */
      private String spCode;

    /**
     * column logic_sk.spname  客户名称
     */
    private String spName;
      
    /**
     * column logic_sk.batch  批次
     */
    private String batch;

    /**
     * column logic_sk.agent  经办人
     */
    private String agent;

    /**
     * column logic_sk.remark  备注
     */
    private String remark;

    /**
     * column logic_sk.createname  制单人
     */
    private String createName;

    /**
     * column logic_sk.removed  是否删除  0未删除：1删除
     */
    private Integer removed;

    /**
     * column logic_sk.dcruser  创建人
     */
    private String dcruser;

	/**
     * column logic_sk.dctime  创建时间
     */
    private Date dctime;

    /**
     * column logic_sk.duuser  修改人
     */
    private String duuser;

    /**
     * column logic_sk.dutime  修改时间
     */
    private Date dutime;
    
    /**
     * column logic_sk.money  应收总货款
     */
    private Double money;
      
    /**
     * column logic_sk.currency		币别
     */
    private String currency;
    
    /**
     * column logic_sk.exchange_rate	汇率
     */
    private String exchange_rate;
    
    /**
     * column logic_sk.yfdate    收款日期
     */
    private Date yfDate;
    
    /**
     * column logic_sk.yshk    已收货款
     */
    private Double yshk;


    public Double getYshk() {
		return yshk;
	}

	public void setYshk(Double yshk) {
		this.yshk = yshk;
	}
    
    public Date getYfDate() {
		return yfDate;
	}

	public void setYfDate(Date yfDate) {
		this.yfDate = yfDate;
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}
 
    /**
     * getter for Column logic_sk.id
     */
    public String getId() {
        return id;
    }
 
	/**
     * setter for Column logic_sk.id
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * getter for Column logic_sk.skcode
     */
    public String getSkCode() {
        return skCode;
    }

    /**
     * setter for Column logic_sk.skcode
     * @param fkCode
     */
    public void setSkCode(String skCode) {
        this.skCode = skCode;
    }

    /**
     * getter for Column logic_sk.oricode
     */
    public String getOriCode() {
        return oriCode;
    }

    /**
     * setter for Column logic_sk.oricode
     * @param oriCode
     */
    public void setOriCode(String oriCode) {
        this.oriCode = oriCode;
    }

    /**
     * getter for Column logic_sk.billstatus
     */
    public Integer getBillStatus() {
        return billStatus;
    }

    /**
     * setter for Column logic_sk.billstatus
     * @param billStatus
     */
    public void setBillStatus(Integer billStatus) {
        this.billStatus = billStatus;
    }

    public LogicSkDO(String id, String skCode, String oriCode, String fph,
			Integer billStatus, String whCode, String whName,
			String creategscode, String creategsname, Integer skState,
			String skMethod, String skzh, String spCode, String spName,
			String batch, String agent, String remark, String createName,
			Integer removed, String dcruser, Date dctime, String duuser,
			Date dutime, Double money, String currency, String exchange_rate,
			Date yfDate, Double yshk) {
		this.id = id;
		this.skCode = skCode;
		this.oriCode = oriCode;
		this.fph = fph;
		this.billStatus = billStatus;
		this.whCode = whCode;
		this.whName = whName;
		this.creategscode = creategscode;
		this.creategsname = creategsname;
		this.skState = skState;
		this.skMethod = skMethod;
		this.skzh = skzh;
		this.spCode = spCode;
		this.spName = spName;
		this.batch = batch;
		this.agent = agent;
		this.remark = remark;
		this.createName = createName;
		this.removed = removed;
		this.dcruser = dcruser;
		this.dctime = dctime;
		this.duuser = duuser;
		this.dutime = dutime;
		this.money = money;
		this.currency = currency;
		this.exchange_rate = exchange_rate;
		this.yfDate = yfDate;
		this.yshk = yshk;
	}

	public String getCreategscode() {
		return creategscode;
	}

	public void setCreategscode(String creategscode) {
		this.creategscode = creategscode;
	}

	public String getCreategsname() {
		return creategsname;
	}

	public void setCreategsname(String creategsname) {
		this.creategsname = creategsname;
	}

	/**
     * getter for Column logic_sk.spcode
     */
    public String getSpCode() {
        return spCode;
    }

    /**
     * setter for Column logic_sk.spcode
     * @param spCode
     */
    public void setSpCode(String spCode) {
        this.spCode = spCode;
    }

    /**
     * getter for Column logic_sk.spname
     */
    public String getSpName() {
        return spName;
    }

    public LogicSkDO() {
		super();
	}

	/**
     * setter for Column logic_sk.spname
     * @param spName
     */
    public void setSpName(String spName) {
        this.spName = spName;
    }

    /**
     * getter for Column logic_sk.batch
     */
    public String getBatch() {
        return batch;
    }

    /**
     * setter for Column logic_sk.batch
     * @param batch
     */
    public void setBatch(String batch) {
        this.batch = batch;
    }

    /**
     * getter for Column logic_sk.agent
     */
    public String getAgent() {
        return agent;
    }

    /**
     * setter for Column logic_sk.agent
     * @param agent
     */
    public void setAegnt(String agent) {
        this.agent = agent;
    }

    public String getFph() {
		return fph;
	}

	public void setFph(String fph) {
		this.fph = fph;
	}

	public String getWhCode() {
		return whCode;
	}

	public void setWhCode(String whCode) {
		this.whCode = whCode;
	}

	public String getWhName() {
		return whName;
	}

	public void setWhName(String whName) {
		this.whName = whName;
	}

	public Integer getSkState() {
		return skState;
	}

	public void setSkState(Integer skState) {
		this.skState = skState;
	}

	public String getSkMethod() {
		return skMethod;
	}

	public void setSkMethod(String skMethod) {
		this.skMethod = skMethod;
	}

	public String getSkzh() {
		return skzh;
	}

	public void setSkzh(String skzh) {
		this.skzh = skzh;
	}

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public String getExchange_rate() {
		return exchange_rate;
	}

	public void setExchange_rate(String exchange_rate) {
		this.exchange_rate = exchange_rate;
	}

	public void setAgent(String agent) {
		this.agent = agent;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	/**
     * getter for Column logic_sk.remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * setter for Column logic_sk.remark
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }


    public String getCreateName() {
		return createName;
	}

	public void setCreatename(String createName) {
		this.createName = createName;
	}

	/**
     * getter for Column logic_sk.removed
     */
    public Integer getRemoved() {
        return removed;
    }

    /**
     * setter for Column logic_sk.removed
     * @param removed
     */
    public void setRemoved(Integer removed) {
        this.removed = removed;
    }

    /**
     * getter for Column logic_sk.dcruser
     */
    public String getDcruser() {
        return dcruser;
    }

    /**
     * setter for Column logic_sk.dcruser
     * @param dcruser
     */
    public void setDcruser(String dcruser) {
        this.dcruser = dcruser;
    }

    /**
     * getter for Column logic_sk.dctime
     */
    public Date getDctime() {
        return dctime;
    }

    /**
     * setter for Column logic_sk.dctime
     * @param dctime
     */
    public void setDctime(Date dctime) {
        this.dctime = dctime;
    }

    /**
     * getter for Column logic_sk.duuser
     */
    public String getDuuser() {
        return duuser;
    }

    /**
     * setter for Column logic_sk.duuser
     * @param duuser
     */
    public void setDuuser(String duuser) {
        this.duuser = duuser;
    }

    /**
     * getter for Column logic_sk.dutime
     */
    public Date getDutime() {
        return dutime;
    }

    /**
     * setter for Column logic_sk.dutime
     * @param dutime
     */
    public void setDutime(Date dutime) {
        this.dutime = dutime;
    }
    
}